<?php
/* @var $this NewsViewController */

$this->breadcrumbs = array(
    'News View',
);
?>
<?php //echo $this->id . '/' . $this->action->id;   ?>

<div class="main_big_block">
    <div class="main_big_block_content">

        <?php if ($model): ?>
            <div class="newsFull">
				<div class="newsFull_image">
					<?php echo CHtml::image('/upload/news/' . $model->image . '.jpg', $model->title); ?>  
				</div>

                <div class="newsFull_title">
                    <h1><?php echo $model->title; ?></h1>
                </div>

                <div class="newsWidget_date">
                    <?= DateFormat::getDate($model->date); ?>
                </div>

                <div class="newsFull_full">
                    <?= $model->full_story; ?>
                </div>

            </div>

            <?php $this->widget('CommentsWidget', array('category_id' => 2, 'post_id' => $model->id)); ?>

        <?php else: ?>
            <center>Данной новости не существует, либо она была удалена.</center>
        <?php endif; ?>


    </div>
</div>